The following functions manipulate and manage time and the system date:
Set and retrieve the system date. |
|
Converts a Day-of-Week number to the associated name. |
|
Adds or subtracts a specified number of days to value of this object. |
|
Adds or subtracts a specified number of hours to value of this object. |
|
Adds or subtracts a specified number of minutes to value of this object. |
|
Adds or subtracts a specified number of months to value of this object. |
|
Adds or subtracts a specified number of milliseconds to value of this object. |
|
Adds or subtracts a specified number of seconds to value of this object. |
|
Adds or subtracts a specified number of ticks to value of this object. |
|
Adds or subtracts a specified number of years to value of this object. |
|
Compares the date component of an external PowerTime object with this objects date component. |
|
Returns the Date component of the object expressed as a string. |
|
Returns the Date component of the PowerTime object, expressed as a string, with a full alphabetic month name. |
|
Returns the Day component of the object. |
|
Returns the Day-of-Week component of the object. |
|
Returns the Day-of-Week of the object, expressed as a string (Sunday, Monday...). |
|
Returns the number of days which comprise the month of the date of the PowerTime object. |
|
Returns a Quad-Integer value of the PowerTime object as a FileTime. |
|
The FileTime Quad-Integer value specified by the parameter is assigned as the PowerTime object value. |
|
Returns the Hour component of the object. |
|
Returns true/false (-1/0) to tell if the object year is a leap year. |
|
Returns the Minute component of the object. |
|
Returns the Month component of the object. |
|
Returns the Month component of the object, expressed as a string (January, February...). |
|
Returns the millisecond component of the PowerTime object. |
|
Assigns a new value to the date component of the PowerTime object. |
|
Assigns a new value to the time component of the PowerTime object. |
|
The current local date and time on this computer is assigned to this object. |
|
The current Coordinated Universal date and time (UTC) is assigned to this object. |
|
Returns the Second component of the object. |
|
Returns the Tick component of the object. |
|
Compares the time component of an external PowerTime object with this objects time component. |
|
Returns the Time component of the PowerTime object expressed as a string. |
|
Returns the Time component of the PowerTime object expressed as a string. The time is formatted as hh:mm in 24-hour notation. |
|
Returns the Time component of the PowerTime object expressed as a string. The time is formatted as hh:mm:ss.tt in 24-hour notation. |
|
The current local date on this computer is assigned to this PowerTime object. This is suitable for applications that work with dates only. |
|
The object is converted to local time. |
|
The object is converted to Coordinated Universal Time (UTC). |
|
Returns the Year component of the PowerTime object as a numeric value. |
|
Converts a Month number to the associated name. |
|
Pause the current thread for a specified number of milliseconds. |
|
Read and/or set the system time. |
|
Return the number of seconds that have elapsed since midnight. |
|
Measures elapsed CPU cycles. |